<?php
/**
 * Created by PhpStorm.
 * User: Wei
 * Date: 17/10/5
 * Time: 20:46
 */
//use Illuminate\Database\Capsule\Manager as Capsule;
//use Illuminate\Database\Capsule\Manager;
//
//// Autoload 自动载入
//require '../vendor/autoload.php';
//
//// Eloquent ORM
//
//$capsule = new Manager;
//
//$capsule->addConnection(require '../config/database.php');
////
//$capsule->bootEloquent();

// 定义 PUBLIC_PATH

define('PUBLIC_PATH', __DIR__);

// 启动器

require PUBLIC_PATH . '/../bootstrap.php';

// 路由配置
require BASE_PATH . '/config/routes.php';